<template functional>
  <div>
    <p
      v-for="(item, index) in props.items"
      :key="index"
      @click="props.itemClick(item)"
    >
      <button>{{item}}</button>
    </p>
  </div>
</template>